package com.xssn.fjnd;


import com.spring4all.swagger.EnableSwagger2Doc;
import com.xssn.util.properties.XssnOssProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients //扫描feign
@EnableSwagger2Doc //开启Swagger
@EnableDiscoveryClient // 标识为nacos客户端
@MapperScan("com.xssn.fjnd.user.mapper")
@EnableConfigurationProperties({XssnOssProperties.class})
@SpringBootApplication()
public class UserApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }
}
